<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    @yield('info')
    <link href="{{asset('resources/views/home/css/base.css')}}" rel="stylesheet">
    <link href="{{asset('resources/views/home/css/index.css')}}" rel="stylesheet">
    <link href="{{asset('resources/views/home/css/style.css')}}" rel="stylesheet">
    <link href="{{asset('resources/views/home/css/new.css')}}" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="{{asset('resources/views/home/js/modernizr.js')}}"></script>
    <![endif]-->
</head>
<body>
<header>
  <div id="logo"><a href="{{url('/')}}"></a></div>
  <nav class="topnav" id="topnav">
    @foreach($nav as $k=>$v)<a href="{{$v->nav_url}}"><span>{{$v->nav_name}}</span><span class="en">{{$v->nav_alias}}</span></a>@endforeach
  </nav>
</header>
@section('content')
<h3>
      <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
      @foreach($new_data as $n)
      <li><a href="{{url('a/'.$n->art_id)}}" title="{{$n->art_title}}" target="_blank">{{$n->art_title}}</a></li>
      @endforeach
    </ul>
    <h3 class="ph">
      <p>点击<span>排行</span></p>
    </h3>
    <ul class="paih">
    @foreach($hot as $hh)
      <li><a href="{{url('a/'.$hh->art_id)}}" title="{{$hh->art_title}}" target="_blank">{{$hh->art_title}}</a></li>
      @endforeach
    </ul>
@show
<footer>
  <p>{!!Config::get('web.copyright')!!} {!!Config::get('web.web_count')!!}</p>
</footer>
<script type="text/javascript" src="{{asset('node_modules/angular/angular.min.js')}}"></script>
</body>
</html>
